package net.csdn.business.common.domain.vo.oauth;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName OAuthTokenValidVO
 * @Description TODO
 * @Author zhangyl
 * @Date 2023/5/12 15:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OAuthTokenValidVO {

    @JsonProperty("app_info")
    private AppInfoVO appInfo;
    @JsonProperty("target_id")
    private String targetId;
    @JsonProperty("target_type")
    private String targetType;
    /**
     * 验证atu开的的token才会返回用户ID
     */
    @JsonProperty("user_id")
    private String userId;

    @JsonProperty("repo_id")
    private Long repoId;
}